home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / fractal / kaos.lha / autolib / destroy_auto_windows.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-11-18  |  428 b   |  26 lines

  1. /*
  2. ### destroy an auto window ###
  3. */
  4.  
  5. #include <suntool/sunview.h>
  6. #include <suntool/textsw.h>
  7. #include <suntool/panel.h>
  8.  
  9. void destroy_auto_windows()
  10. {
  11.  
  12.     extern short auto_panel_show;
  13.     extern Frame auto_frame;
  14.     extern Panel auto_panel;
  15.     extern Textsw auto_textsw;
  16.  
  17.     if(auto_panel_show){
  18.             window_destroy(auto_textsw);
  19.             window_destroy(auto_panel);
  20.             window_destroy(auto_frame);
  21.         auto_panel_show=0;
  22.     }
  23.  
  24. }
  25.  
  26.